package com.cskaoyan.mapper;

import com.cskaoyan.bean.CskaoyanmallFeedback;
import com.cskaoyan.bean.CskaoyanmallFeedbackExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CskaoyanmallFeedbackMapper {
    long countByExample(CskaoyanmallFeedbackExample example);

    int deleteByExample(CskaoyanmallFeedbackExample example);

    /**
     * delete by primary key
     * @param id primaryKey
     * @return deleteCount
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * insert record to table
     * @param record the record
     * @return insert count
     */
    int insert(CskaoyanmallFeedback record);

    /**
     * insert record to table selective
     * @param record the record
     * @return insert count
     */
    int insertSelective(CskaoyanmallFeedback record);

    List<CskaoyanmallFeedback> selectByExample(CskaoyanmallFeedbackExample example);

    /**
     * select by primary key
     * @param id primary key
     * @return object by primary key
     */
    CskaoyanmallFeedback selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallFeedback record, @Param("example") CskaoyanmallFeedbackExample example);

    int updateByExample(@Param("record") CskaoyanmallFeedback record, @Param("example") CskaoyanmallFeedbackExample example);

    /**
     * update record selective
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKeySelective(CskaoyanmallFeedback record);

    /**
     * update record
     * @param record the updated record
     * @return update count
     */
    int updateByPrimaryKey(CskaoyanmallFeedback record);
}